package com.wiz.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.wiz.mapper.StationMonitorMapper;
import com.wiz.service.StationMonitorService;
import com.wiz.to.FuelingTO;
import com.wiz.to.OilTankMonitorHistoryTO;
import com.wiz.to.fpMonitorHistoryTO;
import com.wiz.vo.criteria.FuelingSearchCriteriaTO;
import com.wiz.vo.criteria.MonitorSearchCriteriaTO;

@Service("stationMonitorService")
public class StationMonitorServiceImpl implements StationMonitorService {
	private transient final Logger log = LoggerFactory.getLogger(getClass());

	@Resource
	private StationMonitorMapper stationMonitorMapper;

	@Override
	public List<fpMonitorHistoryTO> getFPhistoryListByCriteriaTO(
			MonitorSearchCriteriaTO searchCriteriaTO) {
		return stationMonitorMapper.getFPhistoryListByCriteriaTO(searchCriteriaTO);
	}

	@Override
	public int getFPhistoryCntByCriteriaTO(
			MonitorSearchCriteriaTO searchCriteriaTO) {
		return stationMonitorMapper.getFPhistoryCntByCriteriaTO(searchCriteriaTO);
	}

	@Override
	public List<OilTankMonitorHistoryTO> getOilTankListByCriteriaTO(
			MonitorSearchCriteriaTO searchCriteriaTO) {
		return stationMonitorMapper.getOilTankListByCriteriaTO(searchCriteriaTO);
	}

	@Override
	public int getOilTankCntByCriteriaTO(
			MonitorSearchCriteriaTO searchCriteriaTO) {
		// TODO Auto-generated method stub
		return stationMonitorMapper.getOilTankCntByCriteriaTO(searchCriteriaTO);
	}

	

	

	
}